
#if defined bugfix_inc
#endinput
#endif
#define bugfix_inc


#include <float>
#include <string>

#tryinclude <myfuncsdll>


stock Float:fix_floatstr(str[])
{
	if(strlen(str) > 14)
		str[15] = '\0';
	return floatstr(str);
}


stock fix_strval(const str[])
{
	new dest[12];
	new i = 0;
	while(!isdigit(str[i])&&str[i]!='-'&&str[i]!='+'&&str[i])
		i++;
	while((dest[i] = str[i]) && i < 12)
		i++;
	return strval(dest);
}




